<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="sidebar-grouptitle">个人中心</div>
<ul class="sidebar-menu">
    <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/notifications/${sessionScope.currentuser.employeeid}">最新通知</a></li>
    <li class="sidebar-menuitem active"><a href="${pageContext.request.contextPath}/mybookings/${sessionScope.currentuser.employeeid}">我的预定</a></li>
    <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/mymeetings/${sessionScope.currentuser.employeeid}">我的会议</a></li>
</ul>
</div>
<div class="sidebar-menugroup">
    <div class="sidebar-grouptitle">人员管理</div>
    <ul class="sidebar-menu">
        <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/register">员工注册</a></li>
        <c:if test="${sessionScope.currentuser.role.equals('2')}">
            <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/admin/departments">部门管理</a></li>
            <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/admin/approveaccount">注册审批</a></li>
            <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/admin/searchemployees?status=1">搜索员工</a></li>
        </c:if>
    </ul>
</div>
<div class="sidebar-menugroup">
    <div class="sidebar-grouptitle">会议预定</div>
    <ul class="sidebar-menu">
        <c:if test="${sessionScope.currentuser.role.equals('2')}">
            <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/admin/addmeetingroom">添加会议室</a></li>
        </c:if>
        <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/meetingrooms">查看会议室</a></li>
        <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/bookmeeting">预定会议</a></li>
        <li class="sidebar-menuitem"><a href="${pageContext.request.contextPath}/searchmeetings">搜索会议</a></li>
    </ul>
